b19d39339b665b6424b6cd4de7e7ba28471ff476,web/src/main/java/com/navercorp/pinpoint/web/vo/stat/chart/LegacyAgentStatChartGroup.java,LegacyAgentStatChartGroup,addActiveTraceData,#AgentStat#,233

Before Change


            TitledDataPoint<Long, Integer> slowDataPoint = new TitledDataPoint<>(schema.getSlowSlot().getSlotName(), timestamp, activeTraceCounts.get(SlotType.SLOW));
            this.activeTraceSlowChartBuilder.addDataPoint(slowDataPoint);

            TitledDataPoint<Long, Integer> verySlowDataPoint = new TitledDataPoint<>(schema.getVerySlowSlot().getSlotName(), timestamp, activeTraceCounts.get(SlotType.VERY_SLOW));
            this.activeTraceVerySlowChartBuilder.addDataPoint(verySlowDataPoint);
        }
    }

After Change


                TitledDataPoint<Long, Integer> slowDataPoint = new TitledDataPoint<>(schema.getSlowSlot().getSlotName(), timestamp, slowCount);
                this.activeTraceSlowChartBuilder.addDataPoint(slowDataPoint);
            }
            int verySlowCount = activeTraceCounts.get(SlotType.VERY_SLOW);
            if (verySlowCount != UNCOLLECTED_DATA) {
                TitledDataPoint<Long, Integer> verySlowDataPoint = new TitledDataPoint<>(schema.getVerySlowSlot().getSlotName(), timestamp, verySlowCount);
                this.activeTraceVerySlowChartBuilder.addDataPoint(verySlowDataPoint);
            }
        }
    }